package com.itheima.tlias.po;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class SelectClazzPageParam {
    /**
     *页码
     */
    private Integer page;
    /**
     * 每页数量
     */
    private Integer pageSize;
    private int id;
    private String name;
    private Integer room;

    /**
     * 范围匹配的开始时间(入职日期)
     */
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private LocalDate begin;
    /**
     * 范围匹配的结束时间(入职日期)
     */
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private LocalDate end;

    private Integer masterId;
    private String masterName;
    private String status;
}
